package cn.tedu.egmvc5.mapper;

import cn.tedu.egmvc5.pojo.entity.Article;
import cn.tedu.egmvc5.pojo.vo.ArticleVO;
import cn.tedu.egmvc5.pojo.vo.UserQuery;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {
    UserQuery  selectByusernameAndPassword(@Param("username") String username, @Param("password")String password);

    void insetArticle(Article article);

    ArticleVO electByArticleId(Integer id);
}
